<template>
  <div class="home">
     <Side />
    <div class="content">
        <Header />
        <main>
            <router-view />
        </main>
    </div>
  </div>
</template>

<script>
import Side from '../components/Side.vue';
import Header from '../components/Header.vue';
export default {
    data() {
        return {

        }
    },
    components:{
        Side,
        Header
    }
}
</script>

<style lang="scss" scoped>
.home{
    width: 100vw;
    height: 100vh;
    display: flex;
}
.content{
    flex: 1;
    display: flex;
    flex-direction: column;
    main {
        flex: 1;
        background: #F0F2F5;
        padding: 16px;
    }
}
</style>